package com.manager.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.manager.model.FileEntity;
import com.manager.service.DemoService;
import org.apache.ibatis.session.ResultHandler;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

public class DemoServiceImpl extends ServiceImpl<BaseMapper<FileEntity>, FileEntity> implements DemoService {
    @Override
    public int insert(FileEntity entity) {
        return 0;
    }

    @Override
    public int deleteById(Serializable id) {
        return DemoService.super.deleteById(id);
    }

    @Override
    public int deleteById(FileEntity entity) {
        return 0;
    }

    @Override
    public int delete(Wrapper<FileEntity> queryWrapper) {
        return 0;
    }

    @Override
    public FileEntity selectById(Serializable id) {
        return null;
    }

    @Override
    public List<FileEntity> selectByIds(Collection<? extends Serializable> idList) {
        return List.of();
    }

    @Override
    public void selectByIds(Collection<? extends Serializable> idList, ResultHandler<FileEntity> resultHandler) {

    }

    @Override
    public Long selectCount(Wrapper<FileEntity> queryWrapper) {
        return 0;
    }

    @Override
    public List<FileEntity> selectList(Wrapper<FileEntity> queryWrapper) {
        return List.of();
    }

    @Override
    public void selectList(Wrapper<FileEntity> queryWrapper, ResultHandler<FileEntity> resultHandler) {

    }

    @Override
    public List<FileEntity> selectList(IPage<FileEntity> page, Wrapper<FileEntity> queryWrapper) {
        return List.of();
    }

    @Override
    public void selectList(IPage<FileEntity> page, Wrapper<FileEntity> queryWrapper, ResultHandler<FileEntity> resultHandler) {

    }

    @Override
    public List<Map<String, Object>> selectMaps(Wrapper<FileEntity> queryWrapper) {
        return List.of();
    }

    @Override
    public void selectMaps(Wrapper<FileEntity> queryWrapper, ResultHandler<Map<String, Object>> resultHandler) {

    }

    @Override
    public List<Map<String, Object>> selectMaps(IPage<? extends Map<String, Object>> page, Wrapper<FileEntity> queryWrapper) {
        return List.of();
    }

    @Override
    public void selectMaps(IPage<? extends Map<String, Object>> page, Wrapper<FileEntity> queryWrapper, ResultHandler<Map<String, Object>> resultHandler) {

    }

    @Override
    public <E> List<E> selectObjs(Wrapper<FileEntity> queryWrapper) {
        return List.of();
    }

    @Override
    public <E> void selectObjs(Wrapper<FileEntity> queryWrapper, ResultHandler<E> resultHandler) {

    }
}
